package cn.lena.map;

import org.junit.Test;

import java.util.Hashtable;

/**
 * @author lena
 * @date 2021/6/19
 */
public class HashTableStudy {

	//private Hashtable hashTable;

	@Test
	public void test(){
		Hashtable<Integer,Integer> hashTable=new Hashtable();
		hashTable.put(1,3);
		hashTable.put(2,4);
		//System.out.println(hashTable.get(1));
		System.out.println(hashTable);
		System.out.println(hashTable.contains(1));
		System.out.println(hashTable.containsKey(null));
	}

}
